package com.zyc.strategyMode;

/**
 * @author zyc
 * @create 2022--06--10 15:20
 */
public class CashMain {
    public static void main(String[] args) {
        // 实际是根据场景将字符串传入
        CashContext context = new CashContext("打8折");
        System.out.println(context.getResult(100));
    }
}
